package _1._0._0._127.ormrpc.services.WSMoveInWarehsBillFacade;

public class WSMoveInWarehsBillFacadeSrvProxyProxy implements WSMoveInWarehsBillFacadeSrvProxy {
    private String _endpoint = null;
    private WSMoveInWarehsBillFacadeSrvProxy wSMoveInWarehsBillFacadeSrvProxy = null;

    public WSMoveInWarehsBillFacadeSrvProxyProxy() {
        _initWSMoveInWarehsBillFacadeSrvProxyProxy();
    }

    public WSMoveInWarehsBillFacadeSrvProxyProxy(String endpoint) {
        _endpoint = endpoint;
        _initWSMoveInWarehsBillFacadeSrvProxyProxy();
    }

    private void _initWSMoveInWarehsBillFacadeSrvProxyProxy() {
        try {
            wSMoveInWarehsBillFacadeSrvProxy = (new WSMoveInWarehsBillFacadeSrvProxyServiceLocator()).getWSMoveInWarehsBillFacade();
            if (wSMoveInWarehsBillFacadeSrvProxy != null) {
                if (_endpoint != null)
                    ((javax.xml.rpc.Stub) wSMoveInWarehsBillFacadeSrvProxy)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
                else
                    _endpoint = (String) ((javax.xml.rpc.Stub) wSMoveInWarehsBillFacadeSrvProxy)._getProperty("javax.xml.rpc.service.endpoint.address");
            }

        } catch (javax.xml.rpc.ServiceException serviceException) {
        }
    }

    public String getEndpoint() {
        return _endpoint;
    }

    public void setEndpoint(String endpoint) {
        _endpoint = endpoint;
        if (wSMoveInWarehsBillFacadeSrvProxy != null)
            ((javax.xml.rpc.Stub) wSMoveInWarehsBillFacadeSrvProxy)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);

    }

    public WSMoveInWarehsBillFacadeSrvProxy getWSMoveInWarehsBillFacadeSrvProxy() {
        if (wSMoveInWarehsBillFacadeSrvProxy == null)
            _initWSMoveInWarehsBillFacadeSrvProxyProxy();
        return wSMoveInWarehsBillFacadeSrvProxy;
    }

    public String[] importData(String xmlData) throws java.rmi.RemoteException, moveinwarehsbillfacade.client.WSInvokeException {
        if (wSMoveInWarehsBillFacadeSrvProxy == null)
            _initWSMoveInWarehsBillFacadeSrvProxyProxy();
        return wSMoveInWarehsBillFacadeSrvProxy.importData(xmlData);
    }


}